package com.fei.fpmall.dao.basemanage;

import com.fei.fpmall.core.model.Page;
import com.fei.fpmall.entity.basemanage.*;
import com.fei.fpmall.dao.IBaseDao;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 用户数据访问层接口
 */

public interface IUsersDao extends IBaseDao<User> {
    User queryObjectByCondition(Map condition);

    List<User> queryListByPage(@Param("page") Page page, @Param("condition") Map condition);
}
